package com.kexuexiong.demo.bear;

import lombok.Data;

@Data
public class ThreadLocalContext {

    private static ThreadLocal<String> context =new ThreadLocal<>();

    public static String getThreadLocalContext(){
        return context.get();
    }

    public static void setContext(String contextValue){
        context.set(contextValue);
    }
}
